import http from './request.js'
//登录
export async function commonloginwxLogin(data) {
	return http('common.login/wxLogin', data)
}

export async function feastDynastygetList(data) {
	return http('feast.Dynasty/getList', data, 'GET')
}

export async function feastClothesgetList(data) {
	return http('feast.Clothes/getList', data)
}

export async function feastClothesgetDetail(data) {
	return http('feast.Clothes/getDetail', data)
}

export async function feastClothesapplyDetail(data) {
	return http('feast.Clothes/applyDetail', data)
}

export async function commoncommongetBannerList(data) {
	return http('common.common/getBannerList', data, 'GET')
}

export async function feastcategorygetList(data) {
	return http('feast.category/getList', data)
}

export async function feastclothesapply(data) {
	return http('feast.clothes_order/apply', data)
}

export async function feastseatgetUnableSeat(data) {
	return http('feast.seat/getUnableSeat', data)
}

export async function commonrichgetRules(data) {
	return http('common.rich/getRules', data)
}

export async function commoncommongetConfig(data) {
	return http('common.common/getConfig', data)
}

export async function coupongetList(data) {
	return http('coupon/getList', data, 'GET')
}

export async function coupongetMyCoupon(data) {
	return http('coupon/getMyCoupon', data, 'GET')
}

export async function coupongetCoupon(data) {
	return http('coupon/getCoupon', data)
}

export async function couponexchange(data) {
	return http('coupon/exchange', data)
}

export async function feastclothes_orderorderDetail(data) {
	return http('feast.clothes_order/orderDetail', data)
}

export async function clothes_ordercancel(data) {
	return http('feast.clothes_order/cancel', data)
}

export async function feastclothes_orderpay(data) {
	return http('feast.clothes_order/pay', data)
}

export async function commonpaydoPay(data) {
	return http('common.pay/doPay', data)
}

export async function coupongetUseCoupon(data) {
	return http('coupon/getUseCoupon', data)
}

export async function commoncommongetMobile(data) {
	return http('common.common/getMobile', data)
}

export async function feastseatgetSeatPrice(data) {
	return http('feast.seat/getSeatPrice', data)
}
export async function preOrder(data) {
	return http('feast.order/preOrder', data)
}

export async function feastordercreateOrder(data) {
	return http('feast.order/createOrder', data)
}

export async function feastordergetDetail(data) {
	return http('feast.order/getDetail', data)
}

export async function feastorderpay(data) {
	return http('feast.order/pay', data)
}

export async function feastordercancel(data) {
	return http('feast.order/cancel', data)
}

export async function usergetUserInfo(data) {
	return http('user/getUserInfo', data, 'GET')
}

export async function userupdateUser(data) {
	return http('user/updateUser', data)
}

export async function feastordergetList(data) {
	return http('feast.order/getList', data)
}

export async function feastclothes_ordergetList(data) {
	return http('feast.clothes_order/getList', data)
}

export async function feastordergetOrderCount(data) {
	return http('feast.order/getOrderCount', data, 'GET')
}

export async function feastclothes_ordergetOrderCount(data) {
	return http('feast.clothes_order/getOrderCount', data, 'GET')
}

export async function feastordergetRefundInfo(data) {
	return http('feast.order/getRefundInfo', data)
}

export async function feastorderrefund(data) {
	return http('feast.order/refund', data)
}

export async function feastclothes_ordergetRefundInfo(data) {
	return http('feast.clothes_order/getRefundInfo', data)
}

export async function feastclothes_orderrefund(data) {
	return http('feast.clothes_order/refund', data)
}

export async function feastordergetUnPay(data) {
	return http('feast.order/getUnPay', data, 'GET')
}

export async function feastSex(data) {
	return http('feast.sex/getList', data, 'GET')
}

export async function clothesOrderpreOrder(data) {
	return http('feast.clothes_order/preOrder', data)
}

export async function flag2coupon(data) {
	return http('feast.coupon/flag2coupon', data)
}

export async function getActivity(data) {
	return http('activity/getActivity', data)
}
